package AST;

import Visitors.IVisitee;
import Visitors.IVisitor;

public class ASTRepetition implements ASTIExpression,IVisitee
{
	
	@Override
	public void Accept(IVisitor visitor) {
		visitor.visit(this);
	}

	public void setExpression(ASTIExpression _expression) {
		this._expression = _expression;
	}
	
	public ASTIExpression getExpression() {
		return _expression;
	}
	
	public void setVariable(ASTVariable _variable) {
		this._variable = _variable;
	}
	
	public ASTVariable getVariable() {
		return _variable;
	}
	
	private ASTIExpression _expression;
	private ASTVariable _variable;
}
